package com.ruoyan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Package: com.ruoyan.controller
 * @ClassName: DashboardController
 * @Author: ruoyan1998
 * @CreateTime: 2021/6/3 9:23
 * @Description: 首页跳转Controller
 */
@Controller
public class IndexController
{
    /**
     * 跳转到登录页*/
    @GetMapping("/login")
    public String login()
    {
        return "dashboard";
    }

    /**
     * 跳转到登录页*/
    @GetMapping("/index")
    public String index()
    {
        return "index";
    }


}
